package com.xlh.virtualization.po;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author cheer
 */
@ApiModel("更新配置参数")
@Data
public class FlavorUpdatePO {

    @NotNull(message = "cpu核数不能为空")
    private Integer cpu;

    @NotNull(message = "内存大小不能为空")
    private Integer ram;

    private Integer slaveCpu;

    private Integer slaveRam;
}
